package my.test.iterator.common;

/**
 * @Author 许玉康
 * @Date 2019/9/4 16:03
 */
public class Project implements IProject {

    //项目名称
    private String name = "";
    //项目成员变量
    private int num = 0;
    //项目费用
    private int cost = 0;

    public Project(String name, int num, int cost) {
        this.name = name;
        this.num = num;
        this.cost = cost;
    }

    @Override
    public String getProjectInfo() {
        return "项目名称:" + this.name +", 项目人数:" + this.num + ", 项目费用:" + this.cost;
    }
}
